package com.test.down.adapter.holders

import android.content.Context
import android.view.View
import android.widget.TextView
import com.test.down.beans.BaseBean
import com.test.down.R
import com.test.down.adapter.BaseHolders
import com.test.down.beans.TsBean

class TsHolders(val context:Context, val contentView:View) : BaseHolders(contentView){


    override fun setItemData(item: BaseBean, position:Int){
        if(item is TsBean) {
            contentView.findViewById<TextView>(R.id.tv_ts_name).text = item.name
        }
    }

}